'use strict';
const uniPush = uniCloud.getPushManager({
  appId: "__UNI__BFC9710"
}) //注意这里需要传入你的应用appId，用于指定接收消息的客户端
exports.main = async (event, context) => {
  return await uniPush.sendMessage({
    "push_clientid": "6ec0d029a192ecb1125b89783e97a342", //填写上一步在uni-app客户端获取到的客户端推送标识push_clientid
    "title": "通知栏显示的标题",
    "content": "通知栏显示的内容",
    "payload": {
      "text": "体验一下uni-push2.0"
    }
  })
};